export const UPDATE_CURR_PROFILE = 'UPDATE_CURR_PROFILE'


let deploy_store = {
    state:{
        curr_profile:{}
    },
    getters: {
        getCurProfile: state => {
            return state.curr_profile
        }
    },
    mutations: {
        [UPDATE_CURR_PROFILE] (state, payload) {
            state.curr_profile = payload
        }
    },
    actions: {
        updateCurrProfile ({commit, state}, payload) {
            commit(UPDATE_CURR_PROFILE,payload)
        }
    }
}

export default deploy_store